\(\int \sec ^{\frac {5}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \, dx\) [233]
Optimal result
Integrand size = 25, antiderivative size = 200 \[
\int \sec ^{\frac {5}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \, dx=\frac {163 a^{5/2} \text {arcsinh}\left (\frac {\sqrt {a} \tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{64 d}+\frac {163 a^3 \sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{64 d \sqrt {a+a \sec (c+d x)}}+\frac {163 a^3 \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{96 d \sqrt {a+a \sec (c+d x)}}+\frac {17 a^3 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{24 d \sqrt {a+a \sec (c+d x)}}+\frac {a^2 \sec ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{4 d}
\]
[Out]
163/64*a^(5/2)*arcsinh(a^(1/2)*tan(d*x+c)/(a+a*sec(d*x+c))^(1/2))/d+163/64*a^3*sec(d*x+c)^(3/2)*sin(d*x+c)/d/(
a+a*sec(d*x+c))^(1/2)+163/96*a^3*sec(d*x+c)^(5/2)*sin(d*x+c)/d/(a+a*sec(d*x+c))^(1/2)+17/24*a^3*sec(d*x+c)^(7/
2)*sin(d*x+c)/d/(a+a*sec(d*x+c))^(1/2)+1/4*a^2*sec(d*x+c)^(7/2)*sin(d*x+c)*(a+a*sec(d*x+c))^(1/2)/d
Rubi [A] (verified)
Time = 0.44 (sec) , antiderivative size = 200, normalized size of antiderivative = 1.00, number of
steps used = 6, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {3899, 4101, 3888, 3886, 221}
\[
\int \sec ^{\frac {5}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \, dx=\frac {163 a^{5/2} \text {arcsinh}\left (\frac {\sqrt {a} \tan (c+d x)}{\sqrt {a \sec (c+d x)+a}}\right )}{64 d}+\frac {17 a^3 \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x)}{24 d \sqrt {a \sec (c+d x)+a}}+\frac {163 a^3 \sin (c+d x) \sec ^{\frac {5}{2}}(c+d x)}{96 d \sqrt {a \sec (c+d x)+a}}+\frac {163 a^3 \sin (c+d x) \sec ^{\frac {3}{2}}(c+d x)}{64 d \sqrt {a \sec (c+d x)+a}}+\frac {a^2 \sin (c+d x) \sec ^{\frac {7}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}{4 d}
\]
[In]
Int[Sec[c + d*x]^(5/2)*(a + a*Sec[c + d*x])^(5/2),x]
[Out]
(163*a^(5/2)*ArcSinh[(Sqrt[a]*Tan[c + d*x])/Sqrt[a + a*Sec[c + d*x]]])/(64*d) + (163*a^3*Sec[c + d*x]^(3/2)*Si
n[c + d*x])/(64*d*Sqrt[a + a*Sec[c + d*x]]) + (163*a^3*Sec[c + d*x]^(5/2)*Sin[c + d*x])/(96*d*Sqrt[a + a*Sec[c
+ d*x]]) + (17*a^3*Sec[c + d*x]^(7/2)*Sin[c + d*x])/(24*d*Sqrt[a + a*Sec[c + d*x]]) + (a^2*Sec[c + d*x]^(7/2)
*Sqrt[a + a*Sec[c + d*x]]*Sin[c + d*x])/(4*d)
Rule 221
Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Simp[ArcSinh[Rt[b, 2]*(x/Sqrt[a])]/Rt[b, 2], x] /; FreeQ[{a, b},
x] && GtQ[a, 0] && PosQ[b]
Rule 3886
Int[Sqrt[csc[(e_.) + (f_.)*(x_)]*(d_.)]*Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)], x_Symbol] :> Dist[-2*(a/(b
*f))*Sqrt[a*(d/b)], Subst[Int[1/Sqrt[1 + x^2/a], x], x, b*(Cot[e + f*x]/Sqrt[a + b*Csc[e + f*x]])], x] /; Free
Q[{a, b, d, e, f}, x] && EqQ[a^2 - b^2, 0] && GtQ[a*(d/b), 0]
Rule 3888
Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_)*Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)], x_Symbol] :> Simp[-2*b*d*
Cot[e + f*x]*((d*Csc[e + f*x])^(n - 1)/(f*(2*n - 1)*Sqrt[a + b*Csc[e + f*x]])), x] + Dist[2*a*d*((n - 1)/(b*(2
*n - 1))), Int[Sqrt[a + b*Csc[e + f*x]]*(d*Csc[e + f*x])^(n - 1), x], x] /; FreeQ[{a, b, d, e, f}, x] && EqQ[a
^2 - b^2, 0] && GtQ[n, 1] && IntegerQ[2*n]
Rule 3899
Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_)*(csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_))^(m_), x_Symbol] :> Simp[(-b^2)
*Cot[e + f*x]*(a + b*Csc[e + f*x])^(m - 2)*((d*Csc[e + f*x])^n/(f*(m + n - 1))), x] + Dist[b/(m + n - 1), Int[
(a + b*Csc[e + f*x])^(m - 2)*(d*Csc[e + f*x])^n*(b*(m + 2*n - 1) + a*(3*m + 2*n - 4)*Csc[e + f*x]), x], x] /;
FreeQ[{a, b, d, e, f, n}, x] && EqQ[a^2 - b^2, 0] && GtQ[m, 1] && NeQ[m + n - 1, 0] && IntegerQ[2*m]
Rule 4101
Int[(csc[(e_.) + (f_.)*(x_)]*(d_.))^(n_)*Sqrt[csc[(e_.) + (f_.)*(x_)]*(b_.) + (a_)]*(csc[(e_.) + (f_.)*(x_)]*(
B_.) + (A_)), x_Symbol] :> Simp[-2*b*B*Cot[e + f*x]*((d*Csc[e + f*x])^n/(f*(2*n + 1)*Sqrt[a + b*Csc[e + f*x]])
), x] + Dist[(A*b*(2*n + 1) + 2*a*B*n)/(b*(2*n + 1)), Int[Sqrt[a + b*Csc[e + f*x]]*(d*Csc[e + f*x])^n, x], x]
/; FreeQ[{a, b, d, e, f, A, B, n}, x] && NeQ[A*b - a*B, 0] && EqQ[a^2 - b^2, 0] && NeQ[A*b*(2*n + 1) + 2*a*B*n
, 0] && !LtQ[n, 0]
Rubi steps \begin{align*}
\text {integral}& = \frac {a^2 \sec ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{4 d}+\frac {1}{4} a \int \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \left (\frac {13 a}{2}+\frac {17}{2} a \sec (c+d x)\right ) \, dx \\ & = \frac {17 a^3 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{24 d \sqrt {a+a \sec (c+d x)}}+\frac {a^2 \sec ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{4 d}+\frac {1}{48} \left (163 a^2\right ) \int \sec ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \, dx \\ & = \frac {163 a^3 \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{96 d \sqrt {a+a \sec (c+d x)}}+\frac {17 a^3 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{24 d \sqrt {a+a \sec (c+d x)}}+\frac {a^2 \sec ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{4 d}+\frac {1}{64} \left (163 a^2\right ) \int \sec ^{\frac {3}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \, dx \\ & = \frac {163 a^3 \sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{64 d \sqrt {a+a \sec (c+d x)}}+\frac {163 a^3 \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{96 d \sqrt {a+a \sec (c+d x)}}+\frac {17 a^3 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{24 d \sqrt {a+a \sec (c+d x)}}+\frac {a^2 \sec ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{4 d}+\frac {1}{128} \left (163 a^2\right ) \int \sqrt {\sec (c+d x)} \sqrt {a+a \sec (c+d x)} \, dx \\ & = \frac {163 a^3 \sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{64 d \sqrt {a+a \sec (c+d x)}}+\frac {163 a^3 \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{96 d \sqrt {a+a \sec (c+d x)}}+\frac {17 a^3 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{24 d \sqrt {a+a \sec (c+d x)}}+\frac {a^2 \sec ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{4 d}-\frac {\left (163 a^2\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1+\frac {x^2}{a}}} \, dx,x,-\frac {a \tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{64 d} \\ & = \frac {163 a^{5/2} \text {arcsinh}\left (\frac {\sqrt {a} \tan (c+d x)}{\sqrt {a+a \sec (c+d x)}}\right )}{64 d}+\frac {163 a^3 \sec ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{64 d \sqrt {a+a \sec (c+d x)}}+\frac {163 a^3 \sec ^{\frac {5}{2}}(c+d x) \sin (c+d x)}{96 d \sqrt {a+a \sec (c+d x)}}+\frac {17 a^3 \sec ^{\frac {7}{2}}(c+d x) \sin (c+d x)}{24 d \sqrt {a+a \sec (c+d x)}}+\frac {a^2 \sec ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{4 d} \\
\end{align*}
Mathematica [A] (verified)
Time = 0.76 (sec) , antiderivative size = 162, normalized size of antiderivative = 0.81
\[
\int \sec ^{\frac {5}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \, dx=\frac {a^3 \left (489 \arcsin \left (\sqrt {1-\sec (c+d x)}\right )+326 \sqrt {1-\sec (c+d x)} \sec ^{\frac {3}{2}}(c+d x)+184 \sqrt {1-\sec (c+d x)} \sec ^{\frac {5}{2}}(c+d x)+48 \sqrt {1-\sec (c+d x)} \sec ^{\frac {7}{2}}(c+d x)+489 \sqrt {-((-1+\sec (c+d x)) \sec (c+d x))}\right ) \tan (c+d x)}{192 d \sqrt {1-\sec (c+d x)} \sqrt {a (1+\sec (c+d x))}}
\]
[In]
Integrate[Sec[c + d*x]^(5/2)*(a + a*Sec[c + d*x])^(5/2),x]
[Out]
(a^3*(489*ArcSin[Sqrt[1 - Sec[c + d*x]]] + 326*Sqrt[1 - Sec[c + d*x]]*Sec[c + d*x]^(3/2) + 184*Sqrt[1 - Sec[c
+ d*x]]*Sec[c + d*x]^(5/2) + 48*Sqrt[1 - Sec[c + d*x]]*Sec[c + d*x]^(7/2) + 489*Sqrt[-((-1 + Sec[c + d*x])*Sec
[c + d*x])])*Tan[c + d*x])/(192*d*Sqrt[1 - Sec[c + d*x]]*Sqrt[a*(1 + Sec[c + d*x])])
Maple [A] (verified)
Time = 63.25 (sec) , antiderivative size = 260, normalized size of antiderivative =
1.30
| | |
method | result | size |
| | |
default |
\(\frac {a^{2} \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \sec \left (d x +c \right )^{\frac {5}{2}} \left (489 \cos \left (d x +c \right )^{3} \arctan \left (\frac {\cos \left (d x +c \right )-\sin \left (d x +c \right )+1}{2 \left (\cos \left (d x +c \right )+1\right ) \sqrt {-\frac {1}{\cos \left (d x +c \right )+1}}}\right )-489 \cos \left (d x +c \right )^{3} \arctan \left (\frac {\cos \left (d x +c \right )+\sin \left (d x +c \right )+1}{2 \left (\cos \left (d x +c \right )+1\right ) \sqrt {-\frac {1}{\cos \left (d x +c \right )+1}}}\right )+978 \sqrt {-\frac {1}{\cos \left (d x +c \right )+1}}\, \sin \left (d x +c \right ) \cos \left (d x +c \right )^{2}+652 \sqrt {-\frac {1}{\cos \left (d x +c \right )+1}}\, \sin \left (d x +c \right ) \cos \left (d x +c \right )+368 \sin \left (d x +c \right ) \sqrt {-\frac {1}{\cos \left (d x +c \right )+1}}+96 \sqrt {-\frac {1}{\cos \left (d x +c \right )+1}}\, \tan \left (d x +c \right )\right )}{384 d \left (\cos \left (d x +c \right )+1\right ) \sqrt {-\frac {1}{\cos \left (d x +c \right )+1}}}\) |
\(260\) |
| | |
|
|
|
[In]
int(sec(d*x+c)^(5/2)*(a+a*sec(d*x+c))^(5/2),x,method=_RETURNVERBOSE)
[Out]
1/384/d*a^2*(a*(1+sec(d*x+c)))^(1/2)*sec(d*x+c)^(5/2)/(cos(d*x+c)+1)/(-1/(cos(d*x+c)+1))^(1/2)*(489*cos(d*x+c)
^3*arctan(1/2*(cos(d*x+c)-sin(d*x+c)+1)/(cos(d*x+c)+1)/(-1/(cos(d*x+c)+1))^(1/2))-489*cos(d*x+c)^3*arctan(1/2*
(cos(d*x+c)+sin(d*x+c)+1)/(cos(d*x+c)+1)/(-1/(cos(d*x+c)+1))^(1/2))+978*(-1/(cos(d*x+c)+1))^(1/2)*sin(d*x+c)*c
os(d*x+c)^2+652*(-1/(cos(d*x+c)+1))^(1/2)*sin(d*x+c)*cos(d*x+c)+368*sin(d*x+c)*(-1/(cos(d*x+c)+1))^(1/2)+96*(-
1/(cos(d*x+c)+1))^(1/2)*tan(d*x+c))
Fricas [A] (verification not implemented)
none
Time = 0.30 (sec) , antiderivative size = 446, normalized size of antiderivative = 2.23
\[
\int \sec ^{\frac {5}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \, dx=\left [\frac {489 \, {\left (a^{2} \cos \left (d x + c\right )^{4} + a^{2} \cos \left (d x + c\right )^{3}\right )} \sqrt {a} \log \left (\frac {a \cos \left (d x + c\right )^{3} - 7 \, a \cos \left (d x + c\right )^{2} - \frac {4 \, {\left (\cos \left (d x + c\right )^{2} - 2 \, \cos \left (d x + c\right )\right )} \sqrt {a} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{\sqrt {\cos \left (d x + c\right )}} + 8 \, a}{\cos \left (d x + c\right )^{3} + \cos \left (d x + c\right )^{2}}\right ) + \frac {4 \, {\left (489 \, a^{2} \cos \left (d x + c\right )^{3} + 326 \, a^{2} \cos \left (d x + c\right )^{2} + 184 \, a^{2} \cos \left (d x + c\right ) + 48 \, a^{2}\right )} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{\sqrt {\cos \left (d x + c\right )}}}{768 \, {\left (d \cos \left (d x + c\right )^{4} + d \cos \left (d x + c\right )^{3}\right )}}, \frac {489 \, {\left (a^{2} \cos \left (d x + c\right )^{4} + a^{2} \cos \left (d x + c\right )^{3}\right )} \sqrt {-a} \arctan \left (\frac {2 \, \sqrt {-a} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{a \cos \left (d x + c\right )^{2} - a \cos \left (d x + c\right ) - 2 \, a}\right ) + \frac {2 \, {\left (489 \, a^{2} \cos \left (d x + c\right )^{3} + 326 \, a^{2} \cos \left (d x + c\right )^{2} + 184 \, a^{2} \cos \left (d x + c\right ) + 48 \, a^{2}\right )} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sin \left (d x + c\right )}{\sqrt {\cos \left (d x + c\right )}}}{384 \, {\left (d \cos \left (d x + c\right )^{4} + d \cos \left (d x + c\right )^{3}\right )}}\right ]
\]
[In]
integrate(sec(d*x+c)^(5/2)*(a+a*sec(d*x+c))^(5/2),x, algorithm="fricas")
[Out]
[1/768*(489*(a^2*cos(d*x + c)^4 + a^2*cos(d*x + c)^3)*sqrt(a)*log((a*cos(d*x + c)^3 - 7*a*cos(d*x + c)^2 - 4*(
cos(d*x + c)^2 - 2*cos(d*x + c))*sqrt(a)*sqrt((a*cos(d*x + c) + a)/cos(d*x + c))*sin(d*x + c)/sqrt(cos(d*x + c
)) + 8*a)/(cos(d*x + c)^3 + cos(d*x + c)^2)) + 4*(489*a^2*cos(d*x + c)^3 + 326*a^2*cos(d*x + c)^2 + 184*a^2*co
s(d*x + c) + 48*a^2)*sqrt((a*cos(d*x + c) + a)/cos(d*x + c))*sin(d*x + c)/sqrt(cos(d*x + c)))/(d*cos(d*x + c)^
4 + d*cos(d*x + c)^3), 1/384*(489*(a^2*cos(d*x + c)^4 + a^2*cos(d*x + c)^3)*sqrt(-a)*arctan(2*sqrt(-a)*sqrt((a
*cos(d*x + c) + a)/cos(d*x + c))*sqrt(cos(d*x + c))*sin(d*x + c)/(a*cos(d*x + c)^2 - a*cos(d*x + c) - 2*a)) +
2*(489*a^2*cos(d*x + c)^3 + 326*a^2*cos(d*x + c)^2 + 184*a^2*cos(d*x + c) + 48*a^2)*sqrt((a*cos(d*x + c) + a)/
cos(d*x + c))*sin(d*x + c)/sqrt(cos(d*x + c)))/(d*cos(d*x + c)^4 + d*cos(d*x + c)^3)]
Sympy [F(-1)]
Timed out. \[
\int \sec ^{\frac {5}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \, dx=\text {Timed out}
\]
[In]
integrate(sec(d*x+c)**(5/2)*(a+a*sec(d*x+c))**(5/2),x)
[Out]
Timed out
Maxima [B] (verification not implemented)
Leaf count of result is larger than twice the leaf count of optimal. 3860 vs. \(2 (168) = 336\).
Time = 0.64 (sec) , antiderivative size = 3860, normalized size of antiderivative = 19.30
\[
\int \sec ^{\frac {5}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \, dx=\text {Too large to display}
\]
[In]
integrate(sec(d*x+c)^(5/2)*(a+a*sec(d*x+c))^(5/2),x, algorithm="maxima")
[Out]
-1/768*(1956*(sqrt(2)*a^2*sin(8*d*x + 8*c) + 4*sqrt(2)*a^2*sin(6*d*x + 6*c) + 6*sqrt(2)*a^2*sin(4*d*x + 4*c) +
4*sqrt(2)*a^2*sin(2*d*x + 2*c))*cos(15/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) + 652*(sqrt(2)*a^2*sin(
8*d*x + 8*c) + 4*sqrt(2)*a^2*sin(6*d*x + 6*c) + 6*sqrt(2)*a^2*sin(4*d*x + 4*c) + 4*sqrt(2)*a^2*sin(2*d*x + 2*c
))*cos(13/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) + 6204*(sqrt(2)*a^2*sin(8*d*x + 8*c) + 4*sqrt(2)*a^2*
sin(6*d*x + 6*c) + 6*sqrt(2)*a^2*sin(4*d*x + 4*c) + 4*sqrt(2)*a^2*sin(2*d*x + 2*c))*cos(11/4*arctan2(sin(2*d*x
+ 2*c), cos(2*d*x + 2*c))) - 2060*(sqrt(2)*a^2*sin(8*d*x + 8*c) + 4*sqrt(2)*a^2*sin(6*d*x + 6*c) + 6*sqrt(2)*
a^2*sin(4*d*x + 4*c) + 4*sqrt(2)*a^2*sin(2*d*x + 2*c))*cos(9/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) +
2060*(sqrt(2)*a^2*sin(8*d*x + 8*c) + 4*sqrt(2)*a^2*sin(6*d*x + 6*c) + 6*sqrt(2)*a^2*sin(4*d*x + 4*c) + 4*sqrt(
2)*a^2*sin(2*d*x + 2*c))*cos(7/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) - 6204*(sqrt(2)*a^2*sin(8*d*x +
8*c) + 4*sqrt(2)*a^2*sin(6*d*x + 6*c) + 6*sqrt(2)*a^2*sin(4*d*x + 4*c) + 4*sqrt(2)*a^2*sin(2*d*x + 2*c))*cos(5
/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) - 652*(sqrt(2)*a^2*sin(8*d*x + 8*c) + 4*sqrt(2)*a^2*sin(6*d*x
+ 6*c) + 6*sqrt(2)*a^2*sin(4*d*x + 4*c) + 4*sqrt(2)*a^2*sin(2*d*x + 2*c))*cos(3/4*arctan2(sin(2*d*x + 2*c), co
s(2*d*x + 2*c))) - 1956*(sqrt(2)*a^2*sin(8*d*x + 8*c) + 4*sqrt(2)*a^2*sin(6*d*x + 6*c) + 6*sqrt(2)*a^2*sin(4*d
*x + 4*c) + 4*sqrt(2)*a^2*sin(2*d*x + 2*c))*cos(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) - 489*(a^2*co
s(8*d*x + 8*c)^2 + 16*a^2*cos(6*d*x + 6*c)^2 + 36*a^2*cos(4*d*x + 4*c)^2 + 16*a^2*cos(2*d*x + 2*c)^2 + a^2*sin
(8*d*x + 8*c)^2 + 16*a^2*sin(6*d*x + 6*c)^2 + 36*a^2*sin(4*d*x + 4*c)^2 + 48*a^2*sin(4*d*x + 4*c)*sin(2*d*x +
2*c) + 16*a^2*sin(2*d*x + 2*c)^2 + 8*a^2*cos(2*d*x + 2*c) + a^2 + 2*(4*a^2*cos(6*d*x + 6*c) + 6*a^2*cos(4*d*x
+ 4*c) + 4*a^2*cos(2*d*x + 2*c) + a^2)*cos(8*d*x + 8*c) + 8*(6*a^2*cos(4*d*x + 4*c) + 4*a^2*cos(2*d*x + 2*c) +
a^2)*cos(6*d*x + 6*c) + 12*(4*a^2*cos(2*d*x + 2*c) + a^2)*cos(4*d*x + 4*c) + 4*(2*a^2*sin(6*d*x + 6*c) + 3*a^
2*sin(4*d*x + 4*c) + 2*a^2*sin(2*d*x + 2*c))*sin(8*d*x + 8*c) + 16*(3*a^2*sin(4*d*x + 4*c) + 2*a^2*sin(2*d*x +
2*c))*sin(6*d*x + 6*c))*log(2*cos(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c)))^2 + 2*sin(1/4*arctan2(sin(
2*d*x + 2*c), cos(2*d*x + 2*c)))^2 + 2*sqrt(2)*cos(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) + 2*sqrt(2
)*sin(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) + 2) + 489*(a^2*cos(8*d*x + 8*c)^2 + 16*a^2*cos(6*d*x +
6*c)^2 + 36*a^2*cos(4*d*x + 4*c)^2 + 16*a^2*cos(2*d*x + 2*c)^2 + a^2*sin(8*d*x + 8*c)^2 + 16*a^2*sin(6*d*x +
6*c)^2 + 36*a^2*sin(4*d*x + 4*c)^2 + 48*a^2*sin(4*d*x + 4*c)*sin(2*d*x + 2*c) + 16*a^2*sin(2*d*x + 2*c)^2 + 8*
a^2*cos(2*d*x + 2*c) + a^2 + 2*(4*a^2*cos(6*d*x + 6*c) + 6*a^2*cos(4*d*x + 4*c) + 4*a^2*cos(2*d*x + 2*c) + a^2
)*cos(8*d*x + 8*c) + 8*(6*a^2*cos(4*d*x + 4*c) + 4*a^2*cos(2*d*x + 2*c) + a^2)*cos(6*d*x + 6*c) + 12*(4*a^2*co
s(2*d*x + 2*c) + a^2)*cos(4*d*x + 4*c) + 4*(2*a^2*sin(6*d*x + 6*c) + 3*a^2*sin(4*d*x + 4*c) + 2*a^2*sin(2*d*x
+ 2*c))*sin(8*d*x + 8*c) + 16*(3*a^2*sin(4*d*x + 4*c) + 2*a^2*sin(2*d*x + 2*c))*sin(6*d*x + 6*c))*log(2*cos(1/
4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c)))^2 + 2*sin(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c)))^2 +
2*sqrt(2)*cos(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) - 2*sqrt(2)*sin(1/4*arctan2(sin(2*d*x + 2*c), c
os(2*d*x + 2*c))) + 2) - 489*(a^2*cos(8*d*x + 8*c)^2 + 16*a^2*cos(6*d*x + 6*c)^2 + 36*a^2*cos(4*d*x + 4*c)^2 +
16*a^2*cos(2*d*x + 2*c)^2 + a^2*sin(8*d*x + 8*c)^2 + 16*a^2*sin(6*d*x + 6*c)^2 + 36*a^2*sin(4*d*x + 4*c)^2 +
48*a^2*sin(4*d*x + 4*c)*sin(2*d*x + 2*c) + 16*a^2*sin(2*d*x + 2*c)^2 + 8*a^2*cos(2*d*x + 2*c) + a^2 + 2*(4*a^2
*cos(6*d*x + 6*c) + 6*a^2*cos(4*d*x + 4*c) + 4*a^2*cos(2*d*x + 2*c) + a^2)*cos(8*d*x + 8*c) + 8*(6*a^2*cos(4*d
*x + 4*c) + 4*a^2*cos(2*d*x + 2*c) + a^2)*cos(6*d*x + 6*c) + 12*(4*a^2*cos(2*d*x + 2*c) + a^2)*cos(4*d*x + 4*c
) + 4*(2*a^2*sin(6*d*x + 6*c) + 3*a^2*sin(4*d*x + 4*c) + 2*a^2*sin(2*d*x + 2*c))*sin(8*d*x + 8*c) + 16*(3*a^2*
sin(4*d*x + 4*c) + 2*a^2*sin(2*d*x + 2*c))*sin(6*d*x + 6*c))*log(2*cos(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x
+ 2*c)))^2 + 2*sin(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c)))^2 - 2*sqrt(2)*cos(1/4*arctan2(sin(2*d*x +
2*c), cos(2*d*x + 2*c))) + 2*sqrt(2)*sin(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) + 2) + 489*(a^2*cos
(8*d*x + 8*c)^2 + 16*a^2*cos(6*d*x + 6*c)^2 + 36*a^2*cos(4*d*x + 4*c)^2 + 16*a^2*cos(2*d*x + 2*c)^2 + a^2*sin(
8*d*x + 8*c)^2 + 16*a^2*sin(6*d*x + 6*c)^2 + 36*a^2*sin(4*d*x + 4*c)^2 + 48*a^2*sin(4*d*x + 4*c)*sin(2*d*x + 2
*c) + 16*a^2*sin(2*d*x + 2*c)^2 + 8*a^2*cos(2*d*x + 2*c) + a^2 + 2*(4*a^2*cos(6*d*x + 6*c) + 6*a^2*cos(4*d*x +
4*c) + 4*a^2*cos(2*d*x + 2*c) + a^2)*cos(8*d*x + 8*c) + 8*(6*a^2*cos(4*d*x + 4*c) + 4*a^2*cos(2*d*x + 2*c) +
a^2)*cos(6*d*x + 6*c) + 12*(4*a^2*cos(2*d*x + 2*c) + a^2)*cos(4*d*x + 4*c) + 4*(2*a^2*sin(6*d*x + 6*c) + 3*a^2
*sin(4*d*x + 4*c) + 2*a^2*sin(2*d*x + 2*c))*sin(8*d*x + 8*c) + 16*(3*a^2*sin(4*d*x + 4*c) + 2*a^2*sin(2*d*x +
2*c))*sin(6*d*x + 6*c))*log(2*cos(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c)))^2 + 2*sin(1/4*arctan2(sin(2
*d*x + 2*c), cos(2*d*x + 2*c)))^2 - 2*sqrt(2)*cos(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) - 2*sqrt(2)
*sin(1/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) + 2) - 1956*(sqrt(2)*a^2*cos(8*d*x + 8*c) + 4*sqrt(2)*a^
2*cos(6*d*x + 6*c) + 6*sqrt(2)*a^2*cos(4*d*x + 4*c) + 4*sqrt(2)*a^2*cos(2*d*x + 2*c) + sqrt(2)*a^2)*sin(15/4*a
rctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) - 652*(sqrt(2)*a^2*cos(8*d*x + 8*c) + 4*sqrt(2)*a^2*cos(6*d*x + 6*
c) + 6*sqrt(2)*a^2*cos(4*d*x + 4*c) + 4*sqrt(2)*a^2*cos(2*d*x + 2*c) + sqrt(2)*a^2)*sin(13/4*arctan2(sin(2*d*x
+ 2*c), cos(2*d*x + 2*c))) - 6204*(sqrt(2)*a^2*cos(8*d*x + 8*c) + 4*sqrt(2)*a^2*cos(6*d*x + 6*c) + 6*sqrt(2)*
a^2*cos(4*d*x + 4*c) + 4*sqrt(2)*a^2*cos(2*d*x + 2*c) + sqrt(2)*a^2)*sin(11/4*arctan2(sin(2*d*x + 2*c), cos(2*
d*x + 2*c))) + 2060*(sqrt(2)*a^2*cos(8*d*x + 8*c) + 4*sqrt(2)*a^2*cos(6*d*x + 6*c) + 6*sqrt(2)*a^2*cos(4*d*x +
4*c) + 4*sqrt(2)*a^2*cos(2*d*x + 2*c) + sqrt(2)*a^2)*sin(9/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) - 2
060*(sqrt(2)*a^2*cos(8*d*x + 8*c) + 4*sqrt(2)*a^2*cos(6*d*x + 6*c) + 6*sqrt(2)*a^2*cos(4*d*x + 4*c) + 4*sqrt(2
)*a^2*cos(2*d*x + 2*c) + sqrt(2)*a^2)*sin(7/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) + 6204*(sqrt(2)*a^2
*cos(8*d*x + 8*c) + 4*sqrt(2)*a^2*cos(6*d*x + 6*c) + 6*sqrt(2)*a^2*cos(4*d*x + 4*c) + 4*sqrt(2)*a^2*cos(2*d*x
+ 2*c) + sqrt(2)*a^2)*sin(5/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) + 652*(sqrt(2)*a^2*cos(8*d*x + 8*c)
+ 4*sqrt(2)*a^2*cos(6*d*x + 6*c) + 6*sqrt(2)*a^2*cos(4*d*x + 4*c) + 4*sqrt(2)*a^2*cos(2*d*x + 2*c) + sqrt(2)*
a^2)*sin(3/4*arctan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))) + 1956*(sqrt(2)*a^2*cos(8*d*x + 8*c) + 4*sqrt(2)*a^2
*cos(6*d*x + 6*c) + 6*sqrt(2)*a^2*cos(4*d*x + 4*c) + 4*sqrt(2)*a^2*cos(2*d*x + 2*c) + sqrt(2)*a^2)*sin(1/4*arc
tan2(sin(2*d*x + 2*c), cos(2*d*x + 2*c))))*sqrt(a)/((2*(4*cos(6*d*x + 6*c) + 6*cos(4*d*x + 4*c) + 4*cos(2*d*x
+ 2*c) + 1)*cos(8*d*x + 8*c) + cos(8*d*x + 8*c)^2 + 8*(6*cos(4*d*x + 4*c) + 4*cos(2*d*x + 2*c) + 1)*cos(6*d*x
+ 6*c) + 16*cos(6*d*x + 6*c)^2 + 12*(4*cos(2*d*x + 2*c) + 1)*cos(4*d*x + 4*c) + 36*cos(4*d*x + 4*c)^2 + 16*cos
(2*d*x + 2*c)^2 + 4*(2*sin(6*d*x + 6*c) + 3*sin(4*d*x + 4*c) + 2*sin(2*d*x + 2*c))*sin(8*d*x + 8*c) + sin(8*d*
x + 8*c)^2 + 16*(3*sin(4*d*x + 4*c) + 2*sin(2*d*x + 2*c))*sin(6*d*x + 6*c) + 16*sin(6*d*x + 6*c)^2 + 36*sin(4*
d*x + 4*c)^2 + 48*sin(4*d*x + 4*c)*sin(2*d*x + 2*c) + 16*sin(2*d*x + 2*c)^2 + 8*cos(2*d*x + 2*c) + 1)*d)
Giac [F]
\[
\int \sec ^{\frac {5}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \, dx=\int { {\left (a \sec \left (d x + c\right ) + a\right )}^{\frac {5}{2}} \sec \left (d x + c\right )^{\frac {5}{2}} \,d x }
\]
[In]
integrate(sec(d*x+c)^(5/2)*(a+a*sec(d*x+c))^(5/2),x, algorithm="giac")
[Out]
sage0*x
Mupad [F(-1)]
Timed out. \[
\int \sec ^{\frac {5}{2}}(c+d x) (a+a \sec (c+d x))^{5/2} \, dx=\int {\left (a+\frac {a}{\cos \left (c+d\,x\right )}\right )}^{5/2}\,{\left (\frac {1}{\cos \left (c+d\,x\right )}\right )}^{5/2} \,d x
\]
[In]
int((a + a/cos(c + d*x))^(5/2)*(1/cos(c + d*x))^(5/2),x)
[Out]
int((a + a/cos(c + d*x))^(5/2)*(1/cos(c + d*x))^(5/2), x)